#pragma once
#include "BaseStrategy.h"
#include "Weapon.h"

class RocketPlaneStrangtegy : public BaseStrategy
{
public:
	RocketPlaneStrangtegy(void);
	~RocketPlaneStrangtegy(void);

	CC_SYNTHESIZE_RETAIN(Weapon*, _weapon, Weapon);
	CC_SYNTHESIZE(float, _timeDelay, TimeDelay);
	CC_SYNTHESIZE(float, _numRocket, NumberRocket);
	CC_SYNTHESIZE(int, _damage, DamageRocket);

	CREATE_FUNC(RocketPlaneStrangtegy);

	virtual bool init();

	virtual void onEnter();

	virtual void onExit();

	void shoot(float dt);
};

